package br.brpv.silvestrin.vendas.listeners;

import android.content.Context;
import br.brpv.silvestrin.vendas.domain.*;

import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: paulo
 * Date: 5/17/12
 * Time: 5:57 PM
 * To change this template use File | Settings | File Templates.
 */
public interface CompanyParamsQueryListener {
    //public void OnWebServiceCompanyParamsReturn(CompanyParameters params);
    //public void failedOnRetrieveCompanyParams();

    public void OnWebServiceCompanyTransportationReturn(ArrayList<Transportation> transp);
    public void failedOnRetrieveTransportation();

    public void OnWebServiceCompanyPaymentFormReturn(ArrayList<PaymentForm> paymentFormArrayList);
    public void failedOnRetrievePaymentForm();

    public Context getActivity();

    public void OnWebServiceBanksReturn(ArrayList<Bank> banks);
    public void failedOnRetrieveBanks();

    public void OnWebServiceInvoiceTypeReturn(ArrayList<Invoice> invoiceArrayList);
    public void failedOnRetrieveInvoiceType();

    public void failedOnRetriveVendors();
    public void OnWebServiceVendorsReturn(ArrayList<Vendor> vendorArrayList);

    public void failedOnRetriveMotorists();
    public void OnWebServiceMotoristsReturn(ArrayList<Motorist> motoristArrayList);
}
